import Vue from 'vue'
import Router from 'vue-router'
import HomeView from '../views/home/index.vue'

Vue.use(Router)

const routes = [
  {
    path: "/",
    name: "home",
    component: HomeView,
  },
  // {
  //   path: "/about",
  //   name: "AboutViews",
  //   // route level code-splitting
  //   // this generates a separate chunk (about.[hash].js) for this route
  //   // which is lazy-loaded when the route is visited.
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/about/index.vue"),
  // },
  // {
  //   path: "/profile",
  //   name: "ProfileViews",
  //   component: () => import("../views/profile"),
  // },
]

const router = new Router({
  routes
})

export default router
